.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/*  轮播图 */
.swiper {
  width: 100%;
  --swiper-navigation-color: white;
  /* 单独设置按钮颜色 */
  --swiper-navigation-size: 50px;
  /* 设置按钮大
  小 */
  --swiper-pagination-color: #666;
}

.swiper-lunbo {
  position: relative;
  bottom: 39px;
}

.swiper-left,
.swiper-right {
  width: 42px;
  height: 72px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 5px;
}

.swiper-right {
  position: absolute;
  right: 50px;
}

.swiper-left {
  position: absolute;
  left: 590px;
}

.category-box {
  background: rgba(51, 51, 51, 0.6);
  height: 530px;
  left: 0;
  position: absolute;
  text-align: left;
  top: 39px;
  left: 360px;
  width: 230px;
  z-index: 20;
}

.category-box>div {
  background: rgba(51, 51, 51, 0.8);
}

/* 商品首页分类 */
.index-floor {
  background-color: #f0f0f0;
}

.category-item>.left-item {
  color: #fff;
  font-size: 16px;
  line-height: 50px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  width: 72px;
}

.category-item:hover {
  background: rgba(51, 51, 51, 0.8);
}

.left-item-icon {
  background: url(https://p2.qhimg.com/t01bd7a5051ca7bcc11.png) no-repeat;
  background-size: 15px 15px;
  height: 15px;
  vertical-align: -2px;
  width: 15px;
  display: inline-block;
}

.category-item>.left-item-a {
  font-size: 14px;
}

.shop-dis {
  width: 650px;
  height: 530px;
  background-color: white;
  position: absolute;
  bottom: 0;
  left: 231px;
  z-index: 200;
  box-shadow: 0 0 3px rgb(0 0 0 / 20%);
}

.shop-dis-list {
  display: flex;
  width: 100%;
  padding-top: 20px;
}

.shop-dis-list-item {
  padding-left: 20px;
  width: 165px;
  height: 65px;
  text-align: left;
}

.shop-dis-list-item>img {
  width: 65px;
  height: 65px;
}

.shop-dis-list-item>span {
  line-height: 65px;
  font-size: 14px;
  color: #666;
}

.shop-dis1,
.shop-dis2,
.shop-dis3,
.shop-dis4,
.shop-dis5,
.shop-dis6,
.shop-dis7 {
  display: none;
}

.category-item-dis1:hover .shop-dis1 {
  display: block;
}

.category-item-dis2:hover .shop-dis2 {
  display: block;
}

.category-item-dis3:hover .shop-dis3 {
  display: block;
}

.category-item-dis4:hover .shop-dis4 {
  display: block;
}

.category-item-dis5:hover .shop-dis5 {
  display: block;
}

.category-item-dis6:hover .shop-dis6 {
  display: block;
}

.category-item-dis7:hover .shop-dis7 {
  display: block;
}

/*   */
.body-main {
  position: relative;
}

.index-floor>.mod-floor {
  background-repeat: no-repeat;
  background-position: center top;
  padding-top: 10px;
  text-align: center;
  width: 100%;
}

.mod-floor>.floor-title {
  color: #333;
  height: 24px;
  line-height: 24px;
  margin: 0 auto;
  text-align: left;
  width: 1180px;
}

.mod-floor>.floor-title>.title {
  font-size: 20px;
  line-height: 20px;
  margin-right: 10px;
}

.mod-floor>.floor-body {
  background-repeat: no-repeat;
  background-position: center top;
  /* margin: 10px 0; */
  width: 100%;
}

.floor-body>.floor-box {
  box-sizing: border-box;
  margin: 0 auto;
  text-align: left;
  display: inline-block;
}

.floor-box>.imd-admod-item {
  width: 280px;
  height: 242px;
  display: block;
  margin-right: 19px;
}

.floor-box>.hover-item:hover {
  position: relative;
  top: -2px;
}

.imd-admod-item>img {
  width: 280px;
  height: 242px;
  border-radius: 4px;
}

.mod-floor>.floor-title>.more-link {
  color: #666;
  font-size: 14px;
  line-height: 14px;
}

.floor-body>.floor-body-box {
  box-sizing: border-box;
  margin: 0 auto;
  text-align: left;
  width: 1180px;
}

.floor-body-box>.imd-admod-item {
  border-radius: 4px;
  float: left;
  height: 460px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.imd-admod-item>img {
  width: 100%;
  height: 100%;
}

.floor-body-box>.product-item {
  background-color: #fff;
  box-sizing: border-box;
  color: #333;
  display: block;
  font-size: 14px;
  line-height: 20px;
  padding: 30px 20px;
  text-align: center;
  width: 280px;
  border-radius: 4px;
  float: left;
  height: 460px;
  margin-right: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.product-item>.top-label,
.label-orange {
  background: #f17f38;
  color: #fff
}

.product-item>.top-label {
  height: 20px;
  margin: 0 auto;
  overflow: hidden;
  word-spacing: normal;
  width: 80px;
}

.product-item>.item-img {
  height: 240px;
  margin: 20px auto 0;
  width: 240px;
}

.item-img>img {
  height: 100%;
  width: 100%;
}

.product-item>.name {
  font-size: 18px;
  line-height: 25px;
  margin-top: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-item>.desc {
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-item>.price {
  line-height: 36px;
  margin-top: 10px;
}

.price>.cur-price {
  color: #dd0e00;
  font-size: 20px;
}

.floor-body-box>:nth-child(3) {
  margin-right: 0;
}

.floor-body-box>:nth-child(7) {
  margin-right: 0;
}

/* 左侧消失菜单 */

.index-elevator-box,
.show {
  transform: scale(1);
  visibility: visible;
}

.index-elevator-box {
  background: #fff;
  box-shadow: 0 0 3px 0 #ddd;
  margin-right: 598px;
  padding: 0;
  /* position: fixed; */
  right: 50%;
  /* top: 50%; */
  /* transform: scale(0); */
  transition: 0.2s all linear;
  /* visibility: hidden; */
  z-index: 103;
}

.index-elevator-box>.elevator_item {
  color: #666;
  display: block;
  padding: 0 10px;
  transition: 0.2s all linear;
}

.index-elevator-box>.current {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item1:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item2:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item3:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item4:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item5:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item6:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item7:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item8:hover {
  background-color: #f6f6f6;
  color: #dd0e00;
  font-weight: 700;
}

.elevator_item>.elevator-item-text {
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  display: block;
  font-size: 12px;
  height: 30px;
  line-height: 18px;
  overflow: hidden;
  padding: 6px 0;
  text-align: center;
  transition: 0.2s all linear;
  white-space: nowrap;
}